package day08.exer;

/**
 * @author Smartloe
 * @create 2021-05-04 17:21
 */
public class Person {
    String name;
    int age;
    /**
     * sex:1表示男性
     * sex：0表示女性
     */
    int sex;
    public void study(){
        System.out.println("studying");
    }
    public void showAge(){
        System.out.println("age:"+age);
    }
    public int addAge(int i){
        age += i;
        return age;
    }
}
